package com.eke.service;

import java.util.List;

import com.eke.bean.ClassHour;
import com.eke.bean.CourseChapters;

public interface CourseChapterSevice {
	/**
	 * 添加课程返回章节ID
	 * 
	 * @param courseChapters
	 * @return courseChaptersId
	 */
	public int addCourseChapter(CourseChapters courseChapters);

	/**
	 * 添加课时
	 * 
	 * @param classHour
	 * 	课时
	 * @return boolean
	 */
	public boolean addClassHour(ClassHour classHour);

	/**
	 * 查询章节
	 * 
	 * @param courseId
	 *            课程id
	 * @return List<CourseChapters>
	 */
	public List<CourseChapters> queryCourseChapter(Integer courseId);

	/**
	 * 查询课时
	 * 
	 * @param courseChapterId
	 *            章节ID
	 * @return ClassHour
	 */
	public ClassHour queryClassHours(Integer courseChapterId);

	/**
	 * 根据课时id查询课时详情
	 * 
	 * @param classHourId
	 *            课时ID
	 * @return {@link List}<{@link ClassHour}>
	 */
	public List<ClassHour> queryClassHourByHourId(Integer classHourId);

}
